package com.hjqjl.module_home.ui.list;

import android.content.Context;
import android.content.Intent;

import com.hjqjl.module_home.databinding.HomeActivityListselectBinding;
import com.hjqjl.module_home.ui.list.recyclerview.FruitListActivity;
import com.hjqjl.module_home.ui.list.recyclerview.MultipleItemListActivity;
import com.hjqjl.whapplib.base.BaseActivity;

public class ListSelectActivity extends BaseActivity<HomeActivityListselectBinding> {

    public static void start(Context context) {
        Intent starter = new Intent(context, ListSelectActivity.class);
        context.startActivity(starter);
    }

    @Override
    public void initData() {
        setTitle("List列表");
    }

    @Override
    public void initListener() {
        pVBinding.homeBtnListSelectExlv.setOnClickListener(v -> MyExpandableListViewActivity.start(pContext));
        pVBinding.homeBtnListSelectRv.setOnClickListener(v -> FruitListActivity.start(pContext));
        pVBinding.homeBtnListSelectMulRv.setOnClickListener(v -> MultipleItemListActivity.start(pContext));
    }
}
